<template>
	<view class="main">
		<view class="title">请选择宝宝性别</view>
		<view class="jx" @tap="info">
			<view class="jx1">
				<view class="circle1"></view>
				<view class="boy">男孩</view>
			</view>
			<view class="jx2">
				<view class="circle2"></view>
				<view class="girl">女孩</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			info(){
				uni.navigateTo({
					url:'/pages/babyInfo/babyInfo'
				})
			}
		}
	}
</script>
	
<style>
	.main{
		/* display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: baseline; */
	}
	
	.title{
		margin-top: 50px; 
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
	.jx{
		display: flex;
		flex-direction: row;
		justify-content:center;
		align-items: center;
	}
	
	.jx1{
		width: 130px;
		height:170px;
		border:1px solid gainsboro;
		background-color:gainsboro;
		border-radius:7px;
		margin-top: 30px;
		/* margin-left: -200px; */
		/* display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center; */
		
	}
	
	.jx2{
		width: 130px;
		height:170px;
		border:1px solid gainsboro;
		background-color:gainsboro;
		border-radius:7px;
		margin-left:50px;
		margin-top: 30px;
		/* display: flex;
		flex-direction:column;
		justify-content: center;
		align-items: center; */
	}
	
	.circle1{
		width: 70px;
		height:70px;
		background-color: darkgray;
		border-radius: 50%;
		margin-top: 40px;
		margin-left: 27px;
		box-shadow: 0 0 5px 5px #fff;
		
	}
	
	.circle2{
			width: 70px;
			height:70px;
			background-color: darkgray;
			border-radius: 50%;
			margin-top: 40px;
			margin-left: 27px;
			box-shadow: 0 0 5px 5px #fff;
	}
		
	.boy{
		margin-top: 20px;
		font-weight: bold;
		display: flex;
		flex-direction: row;
		justify-content:  space-around;
		font-weight: bold;
	}
	
	.girl{
		margin-top: 20px;
		/* margin-left: 45px; */
		display: flex;
		flex-direction: row;
		justify-content:  space-around;
		font-weight: bold;
	}
</style>
